package com.cainaer.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cainaer.product.domain.CommentReply;

import java.util.List;

/**
 * <p>
 * 评价回复表 服务类
 * </p>
 *
 * @author Tina
 * @since 2020-09-11
 */
public interface ICommentReplyService extends IService<CommentReply> {


    /**
     * 新增评论回复数据
     *
     * @param commentReply
     * @return
     */
    public Integer insertCommentReply(CommentReply commentReply);


    /**
     * 编辑评论回复
     *
     * @param commentReply
     * @return
     */
    public Integer editCommentReply(CommentReply commentReply);

    /**
     * 根据条件查询回复评论 分页
     *
     * @param commentReply
     * @return
     */
    public IPage<CommentReply> selectCommentReply(CommentReply commentReply, Integer pageNum, Integer pageSize);


}
